package com.quectel.emp.vo.deptperson.login;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotEmpty;

/**
 * 重置密码
 *
 * @author: caolu
 * @email: louis.cao@quectel.com
 * @date: 2022-05-17 11:29:00
 */

@Data
@Schema
public class UpdatePasswordVo {
    @Schema(description = "原密码 第一次可以传空 注意hasPassword接口判断是否是第一次")
    @Length(max = 30)
    private String originalPassword;

    @Schema(description = "新密码")
    @NotEmpty
    @Length(max = 30)
    private String newPassword;

}
